package com.shotinthedark.weapons
{
	import com.shootingGame.renderableClasses.PickupObject;
	import com.shootingGame.weaponsClasses.Weapon;
	import com.shootingGame.weaponsClasses.WeaponInfo;
	import com.shootingGame.weaponsClasses.launchProfiles.LaunchProfile;
	import com.shootingGame.weaponsClasses.ordinance.SimpleBulletOrdinance;

	public class BasicGunWeapon extends Weapon
	{
		public function BasicGunWeapon(xPos:Number = 0, yPos:Number = 0)
		{
			var primaryFireInfo : WeaponInfo = new WeaponInfo(LaunchProfile.LINEAR_TRAJECTORY, 1, 10, 10, 5, 400);
			primaryFireInfo.ordinanceSample = new SimpleBulletOrdinance(attachedTo, primaryFireInfo,null,0,0,0,0,0,1,int.MAX_VALUE);
			super(new BasicGunWeaponType1(), xPos, yPos, true, primaryFireInfo);
			type = 1;
		}
		
		public static function getPickupObject() : PickupObject{
			return new PickupObject(new BasicGunWeaponType1(), "com.shotinthedark.weapons.BasicGunWeapon");
		}
		
	}
}
